import { http } from '../utils'



const addNews = params => http.post('/api/news/add', params)

const getAdministratorrole = params => http.get('/api/administratorrole/list', params)
const addAdministrator = params => http.post('/api/administratorrole/add', params)
const AdministratorDel = params => http.get('/api/administratorrole/delete', params)

const  getMenuList = params => http.get('/api/menu/list', params)
export default {
    addNews,
    getAdministratorrole,
    addAdministrator,
    AdministratorDel,
    getMenuList
}
